/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package gruppe1projekt.ModelLayer;

import java.util.ArrayList;

/**
 *
 * @author Moulde
 */
public class SupplyContainer
{
    private int reSupplyInterval;
    private ArrayList<SupplySale> Orders;
    private ArrayList<Supplier> Suppliers;
    private static SupplyContainer instance;

    public ArrayList<Supplier> getSuppliers()
    {
        return Suppliers;
    }

    public void setSuppliers(ArrayList<Supplier> Suppliers)
    {
        this.Suppliers = Suppliers;
    }

    public ArrayList<SupplySale> getOrders()
    {
        return Orders;
    }

    public void setOrders(ArrayList<SupplySale> Orders)
    {
        this.Orders = Orders;
    }

    public int getReSupplyInterval()
    {
        return reSupplyInterval;
    }

    public void setReSupplyInterval(int reSupplyInterval)
    {
        this.reSupplyInterval = reSupplyInterval;
    }

    public static SupplyContainer getInstance()
    {
        if (instance == null)
        {
            instance = new SupplyContainer();
        }
        return instance;
    }
}
